<?php

declare (strict_types=1);
namespace App\Model;

/**
 * @property int $id 
 * @property int $admin_id 
 * @property string $username 
 * @property string $ip 
 * @property string $remark 
 * @property string $action_name 
 * @property int $create_time 
 * @property int $update_time
 * @property int $delete_time
 */
class AdminLog extends Model
{

    protected $table = 'admin_log';

    protected $primaryKey = 'id';

    public $timestamps = true;

    protected $fillable = ['id','admin_id','username','ip','remark','action'];


    /**
     * 隐藏属性
     * @var array
     */
    protected $hidden = [
        'delete_time'
    ];

    protected $casts = ['id' => 'integer', 'admin_id' => 'integer', 'create_time' => 'integer', 'update_time' => 'integer'];
}